package user;

import Ioperations.Ioperations;
import book.Bookshelf;

import java.util.Scanner;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 28318
 * Date: 2025-10-25
 * Time: 17:00
 */
public abstract class User {

    private String name;
    private int userID;
    protected Ioperations[] ioperWork = new Ioperations[5];
    public abstract void doIoperation(int choice, Bookshelf book);

    public User(String name, int userID) {
        this.name = name;
        this.userID = userID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public abstract int menu();

}
